package com.cn.wanxi.dao;

import com.cn.wanxi.model.NavModel;

import java.util.List;

public interface INavDao {

    int addNav(NavModel navModel);

    int deleteNav(int id);

    int editNav(NavModel navModel);

    List<NavModel> getNavList();

    NavModel getNav(int id);

    List<NavModel> getNavList(int page,int size);

    List<NavModel> getNavList(int page,int size,String sort);

    List<NavModel> searchNav(String sql);

    long getNavCount();
}
